<%= @uri %><br/>
<%= @log %>
<div class="container"> 
  <div class="row">
    <% if @login['diagnostic']['status'].to_i == 200 %>
      Login Berhasil
    <% end %>
    <% if @results['diagnostic']['status'].to_i == 200 %>
      <div id="traveler_info" class="span6 offset1 bs-example">
        <h3>Traveler Information</h3>
        <%= @login.inspect %>
        
        <%= form_tag hotel_payment_path, method: 'GET' do %>
        <table>
          <tr>
            <td>Guest</td>
            <td>:</td>
            <td>
              <%= select_tag "conSalutation", options_for_select([ "Mr", "Mrs", "Ms" ], "Mr") %>
            </td>
          </tr>
          <tr>
            <td>Guest First Name</td>
            <td>:</td>
            <td>
              <%= text_field_tag "conFirstName" %>
            </td>
          </tr>
          <tr>
            <td>Guest First Name</td>
            <td>:</td>
            <td>
              <%= text_field_tag "conLastName" %>
            </td>
          </tr>
          <tr>
            <td>Guest Email Address</td>
            <td>:</td>
            <td>
              <%= text_field_tag "conEmailAddress" %>
            </td>
          </tr>
          <tr>
            <td>Guest Phone</td>
            <td>:</td>
            <td>
              <%= text_field_tag "conPhone" %>
            </td>
          </tr>
          <tr style="display:none">
            <td></td>
            <td>:</td>
            <td>
              <%= text_field_tag "detailId", params[:order_detail_id] %>
            </td>
          </tr>
          <tr>
            <td>Country</td>
            <td>:</td>
            <td>
              <%= text_field_tag "country" %>
            </td>
          </tr>
          <tr>
            <td>Payment</td>
            <td>:</td>
            <td>
              <%= select_tag "payment", options_for_select([ "Credit Card", "Click BCA" ], "Credit Card") %>
            </td>
          </tr>
          <tr>
            <td></td>
            <td></td>
            <td>
              <%= button_tag "Send" %>
            </td>
          </tr>
        </table>
        <% end %>
      </div>
      <div id="hotel_summary" class="span4 bs-example">
        <h3>Hotel Summary</h3>
        
      </div>
    <% end %>
  </div>
</div>